package com.hecate.user.persistence.model;

import java.util.Date;

/**
 *
 */
public class PermissionResource {
    private Long id;

    private String bid;

    private String cid;

    private Date gmtCreate;

    private Date gmtUpdate;

    private String lockVersion;

    private Byte status;

    private String permissionCode;

    private String permissionName;

    private String parentPermissionBid;

    private String addPermission;

    private String deletePermission;

    private String updatePermission;

    private String serarchPermission;

    private String otherPermission;

    private String permissionResourceType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid == null ? null : bid.trim();
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid == null ? null : cid.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtUpdate() {
        return gmtUpdate;
    }

    public void setGmtUpdate(Date gmtUpdate) {
        this.gmtUpdate = gmtUpdate;
    }

    public String getLockVersion() {
        return lockVersion;
    }

    public void setLockVersion(String lockVersion) {
        this.lockVersion = lockVersion == null ? null : lockVersion.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode == null ? null : permissionCode.trim();
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getParentPermissionBid() {
        return parentPermissionBid;
    }

    public void setParentPermissionBid(String parentPermissionBid) {
        this.parentPermissionBid = parentPermissionBid == null ? null : parentPermissionBid.trim();
    }

    public String getAddPermission() {
        return addPermission;
    }

    public void setAddPermission(String addPermission) {
        this.addPermission = addPermission == null ? null : addPermission.trim();
    }

    public String getDeletePermission() {
        return deletePermission;
    }

    public void setDeletePermission(String deletePermission) {
        this.deletePermission = deletePermission == null ? null : deletePermission.trim();
    }

    public String getUpdatePermission() {
        return updatePermission;
    }

    public void setUpdatePermission(String updatePermission) {
        this.updatePermission = updatePermission == null ? null : updatePermission.trim();
    }

    public String getSerarchPermission() {
        return serarchPermission;
    }

    public void setSerarchPermission(String serarchPermission) {
        this.serarchPermission = serarchPermission == null ? null : serarchPermission.trim();
    }

    public String getOtherPermission() {
        return otherPermission;
    }

    public void setOtherPermission(String otherPermission) {
        this.otherPermission = otherPermission == null ? null : otherPermission.trim();
    }

    public String getPermissionResourceType() {
        return permissionResourceType;
    }

    public void setPermissionResourceType(String permissionResourceType) {
        this.permissionResourceType = permissionResourceType == null ? null : permissionResourceType.trim();
    }
}